
.center {
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
}
.c_orange {
    color: #ffaa00;
}
.c_blue {
    color: #55acee;
}
section {
    margin: 0 auto;
    max-width: 640px;
}
body {
    color: #999999;
    font-size: 13px;
    font-family: 'Microsoft JhengHei Light','Microsoft JhengHei','Microsoft YaHei Light','Microsoft YaHei',sans-serif;
    overflow-x: hidden;
}

/* usr */

.user_info {
    width: 100%;
    max-width: 640px;
    height: 73.5vw;
    max-height: 470px;
    font-size: inherit;
    color: #636f74;
    background: url("../images/index_01.png") center 0 / cover;
    position: relative;
}
.link_to_back {
    width: 050px;
    height: 050px;
    color: #fff;
    border: 2px currentColor solid;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 10px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-transform: scale(0.5);
}
.link_to_back::before {
    content: "";
    display: block;
    position: absolute;
    height: 2px;
    width: 30px;
    top: -webkit-calc(50% - 1px);
    left: -webkit-calc(50% - 16px);
    background: currentColor;
}
.link_to_back .back {
    width: -webkit-calc(100% - 4px);
    height: -webkit-calc(100% - 4px);
    position: relative;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.link_to_back .back::before, .link_to_back .back::after {
    content: "";
    display: block;
    position: absolute;
    height: 2px;
    width: 16px;
    background: currentColor;
    top: -webkit-calc(50% + 1px);
    left: -webkit-calc(50% - 14px);
    -webkit-transform-origin: left;
}
.link_to_back .back::before {
    -webkit-transform: rotate(45deg);
}
.link_to_back .back::after {
    -webkit-transform: rotate(-45deg);
}
.user_head {
    position: absolute;
    top: 27.66%;
    width: 75px;
    height: 75px;
    color: #fff;
    box-shadow: 0 0 20px currentColor;
    border: 1px currentColor solid;
    border-radius: 50%;
    overflow: hidden;
    animation: headlight 2s ease;
    -webkit-animation: headlight 2s ease infinite;
}
.user_head img {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(45deg, #ff6600 0%, #00a0e9 100%);
    object-fit: cover;
}
.nickname {
    position: absolute;
    display: block;
    font-size: 14px;
    line-height: 16px;
    top: 68%;
    color: #fff;
}
.user_info .user_info_ul {
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: 0;
    padding-bottom: 2px;
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    display: -webkit-box;
}
.user_info .user_info_ul li {
    display: block;
    -webkit-box-flex: 1;
    width: 1%;
    text-align: center;
    line-height: 40px;
    position: relative;
    overflow: hidden;
}
.user_info .user_info_ul li span {
    display: block;
    height: 15px;
    line-height: 15px;
}
.user_info .user_info_ul li span:nth-of-type(2) {
    line-height: 25px;
    height: 25px;
}
.user_info .user_info_ul li:not(:last-of-type)::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: -webkit-linear-gradient( 90deg, rgba(230,230,230,0) 30%, rgba(230,230,230,1) 50%, rgba(230,230,230,0) 80%) right no-repeat;
}


/* tap栏 */

.tap_bar {
    background: #ffffff;
    border-bottom: 1px #efefef solid;
    width: 100%;
    max-width: 640px;
}
.tap_bar ul {
    display: flex;
    display: -webkit-flex;
    width: 100%;
    height: 66px;
    overflow: hidden;
}
.tap_bar li {
    position: relative;
    display: block;
    flex: 1;
}
.tap_bar li a {
    font-size: inherit;
    line-height: 54px;
    text-align: center;
    display: block;
    -webkit-box-sizing: border-box;
    color: inherit;
    padding-top: 10px;
}
.tap_bar .current a {
    color: #55acee;
    border-bottom:2px currentColor solid;
    -webkit-transition: 1s all cubic-bezier(0.68,-0.55,0.27,1.55);
    /*-webkit-transform: scale(1.1);*/
}
.tap_bar li:not(:last-of-type)::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: -webkit-linear-gradient( 90deg, rgba(230,230,230,0) 0%, rgba(230,230,230,1) 50%, rgba(230,230,230,0) 100%) right no-repeat;
}

.overdue {
    border-radius: 16px;
    color: #ffffff;
    background: #ffa538;
    position: absolute;
    top: 8px;
    left: -webkit-calc(50% + 16px);
    z-index: 99;
}

.myCard .overdue {
    background: #ef440f;
}

.overdue p {
    display: inline-block;
    text-align: center;
    line-height: 16px;
    padding: 1px 4px;
}
.overdue span::before {
    content: '';
    height: 0;
    width: 0;
    display: block;
    border-left: 0 solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #ffa538;
    position: absolute;
    top: 14px;
    left: 6px;
}
.myCard .overdue span::before {
    content: '';
    height: 0;
    width: 0;
    display: block;
    border-left: 0 solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #ef440f;
    position: absolute;
    top: 14px;
    left: 6px;
}


/* 打卡记录 */

.record_box {
    padding-bottom: 30px;
}
.record {
    height: 62px;
    border-bottom: 1px #e6e6e6 solid;
    margin: 0 10px;
    position: relative;
}
.record .data_box {
    width: 46px;
    height: 46px;
    position: absolute;
    background: #66bdff;
    border-radius: 4px;
    top: 8px;
    left: 0;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}
.record .data_box::before {
    display: block;
    content: '';
    height: 18px;
    width: 100%;
    position: absolute;
    top: 28px;
    background: #55acee;
    z-index: 0;
}
.data_box .day {
    font-size: 16px;
    font-weight: bold;
    height: 28px;
    line-height: 32px;
}
.data_box .year-month {
    font-size: 12px;
    height: 18px;
    line-height: 18px;
    z-index: 9;
    transform: scale(0.9);
}
.info_box {
    height: 46px;
    width: -webkit-calc(100% - 50px);
    position: absolute;
    left: 50px;
    top: 8px;
}
.info_box > p {
    display: inline-block;
    line-height: 46px;
}
.info_box > p span {
    padding-left: 2px;
}
.info_box .da_statu {
    padding: 0 10px;
}
.info_box .da_days {
    position: absolute;
    left: -webkit-calc(50% - 30px);
}
.info_box .da_point {
    position: absolute;
    right: 0;
}


.get_more {
    font-size: 12px;
    margin: 10px;
    padding: 10px 0 0 0;
    text-align: center;
    display: block;
    opacity: 0.4;
}

/* 卡片切换 */

.swiper {
    margin: 10px auto 20px auto;
    padding-bottom: 60px;
}

.swiper-container {
    width: 100%;
    height: 110vw;
    max-height: 832px;
    padding-top: 20px;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 100%;
    transition: 1s ease transform,1s ease opacity;
}
.swiper-slide,.swiper-slide-duplicate,.swiper-slide-prev,.swiper-slide-next {
    transform: scale(0.9) ;
    -webkit-transform: scale(0.9) ;
    opacity: 0.5;
}
.swiper-slide-active {
    transform: scale(1) ;
    -webkit-transform: scale(1) ;
    opacity: 1;
}
.swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: relative;
    border: 4px solid #2b665e;
    box-sizing: border-box;
}

.swiper-slide p {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef440f;
    width: 26px;
    height: 26px;
    overflow: hidden;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    line-height: 26px;
}

/* 大图 */

.carrousel {
    width: 100%;
    height: 100%;
    max-width: 100%;
    position: fixed;
    background-color: rgba(10, 10, 10, 0.8);
    display: none;
    z-index: 99999;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.carrousel .wrapper {
    position: relative;
    width: 100%;
    height:calc(100% - 60px);
    overflow: hidden;
    max-width: 640px;
    left:0;
    right:0;
    margin:auto;
}
.carrousel p {
    height: 60px;
    line-height: 20px;
    padding: 20px 0 0 0;
    text-align: center;
    font-size: 14px;
    color: #cf8c04;
    box-sizing: border-box;
}
.carrousel .wrapper > img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    position: absolute;
    left: 10%;
    top: calc(10% - 20px);
    border: 4px solid #2b665e;
    box-sizing: border-box;
}

.carrousel .close {
    height: 20px;
    width: 20px;
    cursor: pointer;
    color: #FFF;
    position: absolute;
    top: calc(10% - 28px);
    right: calc(10% - 8px);
    font-size: 18px;
    background: red;
}

/* 底部状态按钮 */

.ka_status_btn {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 999;
    height: 50px;
    line-height: 50px;
    max-width: 640px;
}

.ka_status_btn .status {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 18px;
}
.ka_status_btn .status1 {
    background: #ffaa00;
}
.ka_status_btn .status2 {
    background: #d2dbe1;
}

.ka_status_btn .status .icon {
    display: inline-block;
    width: 19px;
    height: 19px;
    position: relative;
}
.ka_status_btn .icon::after {
    content: '';
    display: block;
    position: absolute;
    top: 2px;
    left: -4px;
    width: 19px;
    height: 19px;
}
.ka_status_btn .status1 .icon::after {
    background: url("") center 0 / cover;
}
.ka_status_btn .status2 .icon::after {
    background: url("") center 0 / cover;
}

@-webkit-keyframes headlight {
    0%{box-shadow: 0 0 20px #fff;}
    80%{box-shadow: 0 0 0 #fff;}
    100%{box-shadow: 0 0 20px #fff;}
}

.page2 {
    display: none;
}